<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8" isELIgnored="false" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>编辑航班</title>
    <link rel="stylesheet" href="css/add_airport.css">
</head>
<body>
<div class="form-container">
<%  String id= request.getParameter("id");
    String name = request.getParameter("name");
    String planeId= request.getParameter("planeId");
    String airlineId = request.getParameter("airlineId");
    String scheduleId = request.getParameter("scheduleId");
%>
<h1>修改航班信息</h1>
<form action="editFlight" method="post">
    <input type="hidden" name="id" value="<%=id%>">
    航班名：<input type="text" name="name" value="<%=name%>" required><br>
    飞机编号：<input type="text" name="planeId" value="<%=planeId%>" required><br>
    航线编号：<input type="text" name="airlineId" value="<%=airlineId%>" required><br>
    时间表编号：<input type="text" name="scheduleId" value="<%=scheduleId%>" required><br>
    <input type="submit">
</form>
</div>
</body>
</html>